package com.lkm.asking.service.Impl;

import com.lkm.asking.dao.CounterDao;
import com.lkm.asking.service.CounterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CounterServiceImpl implements CounterService {

    @Autowired
    CounterDao counterDao;

    @Override
    public int addOne(Integer dataid) {
        return counterDao.addOne(dataid);
    }

    @Override
    public int getNumber(Integer dataid) {
        return counterDao.getNumber(dataid);
    }
}
